home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_02_06 / 2n06018c < prev    next >
Text File  |  1991-04-28  |  247b  |  13 lines

  1. #include <stdio.h>
  2. #include "snooper.h"
  3.  
  4. void set_xy(int x, int y)
  5. {
  6.     /* __BREAK() always prints current state of x, y */
  7.     __BREAK(__SCRN__,d_printf("x = %d, y = %d\n",x,y));
  8.     set_x(x);
  9.     set_y(y);
  10.  
  11.     /* continue ... */
  12. }
  13.